import { axios } from '@/utils/request'

// 月度综合统计
export function monthComprehensive(parameter) {
  return axios({
    url: '/sys/hr/statistics/monthComprehensive',
    method: 'post',
    data:parameter
  })
}
// 月度明细统计
export function getParkEnterpriseStaffDataView(parameter) {
  return axios({
    url: '/sys/hr/statistics/getParkEnterpriseStaffDataView',
    method: 'post',
    data:parameter
  })
}
export function getEnterpriseStaffDataView(parameter) {
  return axios({
    url: '/sys/hr/statistics/getEnterpriseStaffDataView',
    method: 'post',
    data:parameter
  })
}
export function getEnterpriseBizTypeAmountDataView(parameter) {
  return axios({
    url: '/sys/hr/statistics/getEnterpriseBizTypeAmountDataView',
    method: 'post',
    data:parameter
  })
}
export function getBizTypeOrderAmountDataView(parameter) {
  return axios({
    url: '/sys/hr/statistics/getBizTypeOrderAmountDataView',
    method: 'post',
    data:parameter
  })
}
export function getEnterpriseOrderAmountDataView(parameter) {
  return axios({
    url: '/sys/hr/statistics/getEnterpriseOrderAmountDataView',
    method: 'post',
    data:parameter
  })
}
export function getBizTypeServiceAmountDataView(parameter) {
  return axios({
    url: '/sys/hr/statistics/getBizTypeServiceAmountDataView',
    method: 'post',
    data:parameter
  })
}
export function getEnterpriseServiceAmountAmountDataView(parameter) {
  return axios({
    url: '/sys/hr/statistics/getEnterpriseServiceAmountAmountDataView',
    method: 'post',
    data:parameter
  })
}
// 月度城市统计
export function getCityServiceAmount(parameter) {
  return axios({
    url: '/sys/hr/statistics/getCityServiceAmount',
    method: 'post',
    data:parameter
  })
}
export function getCityOrderAmount(parameter) {
  return axios({
    url: '/sys/hr/statistics/getCityOrderAmount',
    method: 'post',
    data:parameter
  })
}
export function cityParkStaff(parameter) {
  return axios({
    url: '/sys/hr/statistics/cityParkStaff',
    method: 'post',
    data:parameter
  })
}
// 年度综合统计
export function yearComprehensive(parameter) {
  return axios({
    url: '/sys/hr/statistics/yearComprehensive',
    method: 'post',
    data:parameter
  })
}
export function exportYearExcel(parameter) {
  return axios({
    url: '/sys/hr/statistics/exportYearExcel',
    method: 'post',
    data:parameter,
    responseType: 'blob'
  })
}